package com.xgxf.server.controller;

import com.xgxf.server.common.JsonResult;
import com.xgxf.server.pojo.UserOperationLogQuery;
import com.xgxf.server.service.IUserOperationLogService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * ClassName: UserOperationLogController
 * Package: com.xgxf.server.controller
 *
 * @Description:
 * @Author: Anonymity
 * @CreateDate: 2024.03.07 - 09:06
 * Version: v1.0
 */
@RestController
@RequestMapping("/userOperationLog")
public class UserOperationLogController {

    @Autowired
    private IUserOperationLogService userOperationLogService;

    @GetMapping("/getList")
    public JsonResult getList(UserOperationLogQuery userOperationLogQuery){
        return userOperationLogService.getUserOperationLogList(userOperationLogQuery);
    }
}
